package com.dongdongqiang.domain.sys;

import com.dongdongqiang.common.base.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Table;
import java.util.Date;
import java.math.BigDecimal;


/**
* SysRole 实体类
* by ZZB 2017-09-15 21:22:41
*/
@Table(name = "sys_role")
public class SysRole extends BaseEntity {
    @Column(name = "role_name")
    private String roleName;

    /*----------------------get set 方法----------------------*/
    public String getRoleName() {return roleName;}
    public void setRoleName(String roleName){this.roleName = roleName == null ? null : roleName.trim();}
    /*----------------------toString 方法----------------------*/
    @Override
    public String toString() {
        return "SysRole{" +
        "id='" + getId() + '\'' + ',' + 
        "roleName='" + getRoleName() + '\'' + ',' + 
        "creator='" + getCreator() + '\'' + ',' + 
        "createTime='" + getCreateTime() + '\'' + ',' + 
        "updater='" + getUpdater() + '\'' + ',' + 
        "updateTime='" + getUpdateTime() + '\'' + ',' + 
        "activate='" + getActivate() + '\'' + 
        '}';
    }
}
